package hy;

import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPool;

public class TestPool {
    public static void main(String[] args) {
        JedisPool pool = Util.getInstance();
        Jedis j = null;
        try {
            j = pool.getResource();
            j.set("aa", "one");
        } finally {
            j.close();
        }
    }
}
